Cache-Guided Scheduling: Exploiting Caches to Maximize Locality in Graph Processing

نویسندگان

  • Anurag Mukkara
  • Nathan Beckmann
  • Daniel Sanchez
چکیده

Graph processing algorithms are currently boŠlenecked by the limited bandwidth and long latency of main memory accesses. Onchip caches are of liŠle help when processing large graphs because their irregular structure leads to seemingly random memory references. However, most real-world graphs o‚er signi€cant potential locality—it is just hard to predict ahead of time. In practice, graphs have well-connected regions where relatively few vertices share edges with many common neighbors. If these vertices were processed together, graph algorithms would enjoy signi€cant reuse. But €nding this cache-friendly schedule is hard from the processor side, which is oblivious to cache contents. Our insight is that the cache knows exactly which vertices are cached at any given time, so it is in an ideal position to €nd a schedule that maximizes locality. We present our ongoing work on CacheGuided Scheduling (CGS), a technique that exploits this insight by adding a specialized engine to the last-level cache that dynamically €nds a schedule that minimizes cache misses. We present a limit study of CGS through two idealized implementations. Œis limit study reveals CGS’s large potential: CGS reduces memory accesses by 5.8× gmean on a set of large graphs. Œough promising, CGS would incur high overheads if implemented this way. We discuss several paths towards a practical implementation.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Experimental Evaluation of Array Caches

Cache memories have a dual objective: bridging the gap between memory and CPU speeds and reducing the demand bandwidth on the main memory. These related objectives are achieved by exploiting the locality of access inherent in programs. Locality can be either temporal (when the same location is accessed repeatedly within the a window of references) or spatial (when contiguous locations are acces...

متن کامل

Characterization of Locality Aware Task Scheduling Mechanism

The architectural features of modern computers highlight the need of parallel programming for sustained performance. This paper deals with task based programming to program modern computers. Due to lack of data locality, communication optimization and lack of task characterization support in an existing task scheduling, we intends to overview the characterization of locality aware task scheduli...

متن کامل

Cache-Aware Virtual Machine Scheduling on Multi-Core Architecture

Facing practical limits to increasing processor frequencies, manufacturers have resorted to multi-core designs in their commercial products. In multi-core implementations, cores in a physical package share the last-level caches to improve inter-core communication. To efficiently exploit this facility, operating systems must employ cache-aware schedulers. Unfortunately, virtualization software, ...

متن کامل

Locality Information Based Scheduling in Shared Memory Multiprocessors

Lightweight threads have become a common abstraction in the field of programming languages and operating systems. This paper examines the performance implications of locality information usage in thread scheduling algorithms for scal-able shared-memory multiprocessors. The elements of a distributed scheduler using all available locality information as well as experimental measurements are prese...

متن کامل

Smart Memory Management through Locality Analysis

Cache memories were incorporated in microprocessors in the early times and represent the most common solution to deal with the gap between processor and memory speeds. However, many studies point out that the cache storage capacity is wasted many times, which means a direct impact in processor performance. Although a cache is designed to exploit different types of locality, all memory reference...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017